load Html
Loads the provided HTML content into the browser using a data URL.
This method assembles a data URL from the given HTML string and instructs the browser to begin loading the content asynchronously. The method returns immediately and does not block the calling thread.
If the resulting data URL exceeds 2 * 1024 * 1024 characters, the method does nothing.
Security note: Pages loaded via data URLs cannot access local file system resources.
Since
8.12.0
Parameters
html
the HTML content to load into the browser
Throws
when the browser is already closed